using FluentNHibernate.Mapping;
using RMH.Entities;

namespace RMH.DataAccess.Mappings
{
    public class NoteMap : ClassMap<Note>
    {
        public NoteMap()
        {
            Id(x => x.Id);
            Map(x => x.Body);
            Map(x => x.Date);
            Map(x => x.StaffId);
            References(x => x.Patient);
        }
    }
}